package com.ganzalang.gmall.interfacespecification.second.service.impl;

import com.ganzalang.gmall.interfacespecification.second.domain.User;
import com.ganzalang.gmall.interfacespecification.second.service.UserService;

import java.util.regex.Pattern;

/**
 * @description:
 * @author: Ganzalang
 * @Date 2021/3/30 9:23
 */
public class UserServiceImpl implements UserService {

    /**
     * 添加用户，先做校验，再做业务逻辑
     * @param user
     * @return
     */
    @Override
    public String addUser(User user) {
        // 参数校验完毕后这里做业务逻辑
        return "success";
    }
}
